package com.zs.toolbox.web2j.system.core.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Collection;

/**
 * @author shuai.zhang  on 2018/9/29
 * @description
 */
@Data
@ApiModel("包含角色信息的用户信息")
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class WtUserWithRoleEntity extends WtUserEntity {
    @ApiModelProperty("用户角色列表")
    Collection<WtRoleEntity> roles;

}
